package infrastructure.exceptions;

/**
 * This exception should be thrown and never caught .. it represents some fatal error 
 * from which the server cannot recover .. and should be thrown out of the main process 
 * of the serveer
 * @author sashas
 *
 */
public final class ServerFataError extends RuntimeException{

	/**
	 * 
	 * @param message - message of the error 
	 */
	public ServerFataError(String message){
		super(message);
	}
	
	/**
	 * 
	 * @param message - message of the error 
	 * @param cause   - cause of the error
	 */
	public ServerFataError(String message,Throwable cause){
		super(message,cause);
	}
}
